package com.anjubao.parking.municipal.user.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 用户信息表
 *
 * @author zhuchunfeng
 */
@Getter
@Setter
@ApiModel(value="UserInfo",description = "用户信息表")
@Accessors(chain = true)
public class UserDetailDto {

    @ApiModelProperty("16位用户编号")
    private String userCode;

    @ApiModelProperty(name="phone",value = "用户手机号")
    private String phone;

    @TableField(value="name")
    @ApiModelProperty(name="name",value = "真实姓名")
    private String name;

    @ApiModelProperty(name="idCard",value = "身份证号")
    private String idCard;

    @TableField(value="balance")
    @ApiModelProperty(name="balance",value = "帐户余额")
    private Integer balance;

    @ApiModelProperty(name="vehicles",value = "绑定的车牌号,最多绑定6个")
    private List<UserVehicleDto> vehicles;

    @ApiModelProperty(name="nickName",value = "用户昵称")
    private String nickName;

    @ApiModelProperty(name="avatar",value = "用户头像地址")
    private String avatar;

    @ApiModelProperty(name="wxNickname",value = "微信昵称")
    private String wxNickname;

    @ApiModelProperty(name="wxOpenid",value = "微信openid")
    private String wxOpenid;

    @ApiModelProperty(name="unionId",value = "unionid")
    private String unionId;

    @ApiModelProperty(name="minappOpenid",value = "小程序openid")
    private String minappOpenid;

    @ApiModelProperty(name="wcOpenid",value = "公众号openid")
    private String wcOpenid;

    @ApiModelProperty(name="alipayId",value = "支付宝id")
    private String alipayId;


}